@import './reset.scss';
$radio:37.5;
@function px2rem($px){
    @return $px/$radio +rem ;
};
@mixin center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide-down-enter,
.slide-down-leave-to {
  transform: translate3d(0, 100%, 0);
}
.slide-down-enter-to,
.slide-down-leave {
  transform: translate3d(0, 0, 0);
}
.slide-down-enter-active,
.slide-down-leave-active {
  transition: all 0.3s linear;
}
.slide-up-enter,
.slide-up-leave-to {
  transform: translate3d(0, px2rem(138), 0);
}
.slide-up-enter-to,
.slide-up-leave {
  transform: translate3d(0, 0, 0);
}
.slide-up-enter-active,
.slide-up-leave-active {
  transition: all 0.3s linear;
}
.popup-slide-up-enter,.popup-slide-up-leave-to{
  transform: translate3d(0, 100%, 0);
  opacity: 0;
}
.popup-slide-up-enter-to,.popup-slide-up-leave{
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
.popup-slide-up-enter-active,
.popup-slide-up-leave-active {
  transition: all 0.2s linear;
}
.fade-slide-right-enter,.fade-slide-right-leave-to{
  transform: translate3d(-100%, 0, 0);
  opacity: 0;
}
.fade-slide-right-enter-to,.fade-slide-right-leave{
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
.fade-slide-right-enter-active,
.fade-slide-right-leave-active {
  transition: all 0.2s linear;
}
@mixin ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
